// 定义变量
$imgRootUrl: '../../../../../lib/images/';
$imgSkinUrl: '../images/';
$baseColor: #3a3a3a;
$baseBgColor: #f8f8f8;
$baseFontSize: 12px;
$headNnavZindex: 10;
$head_H: 50px;
$avatar_W: 33px;
$navCorner_W: 18px; //菜单两边突出来的宽度
$tab_H:32px;
$homeTab_W: 82px; //Home button width
$navTabMargin_L: 85px;
$inTabColor: #a2ede6;

@import "mixin";
@import "sqicon-fonts";
@import "sqicon";
.sqiconfont{
    font-family: "sqiconfont";
    -webkit-text-stroke-width: 0.2px;
}

html, body, a, input, textarea{
    color: $baseColor;
}
#entryPage body{
    overflow-y: scroll;
}
html, body{
    // height: 100%;
}
body {
    padding: 0px;
    margin: 0;
    background: $baseBgColor;
    font-size: $baseFontSize;
}
.clearFix:before,.clearFix:after{
    content: '';
    display: block !important;
    height: 0;
    visibility: hidden;
    clear: both;
}
.clearLine{
    display: block;
    height: 0;
    line-height: 0;
    overflow: hidden;
    padding-bottom: 1px;
}
a{
    text-decoration: none;
}
img{
    vertical-align: top;
}
.Hide{
    display: none !important;
}
.FL{
    float: left !important;
}

.FR{
    float: right !important;
}
.TC{
    text-align: center;
}
.TL{
    text-align: left;
}
.TR{
    text-align: right;
}
.inLB{
    display: inline-block;
    vertical-align: middle;
}
@for $i from 1 through 10 {
   .em#{$i}{
        width: 1em * $i;
    }
    .em#{$i}_5{
        width: 1em * ( $i + 0.5 )
    }
}
table{
    &.table_full{
        width: 100%;
    }
}
.table{
    display: table;
    &.table_full{
        width: 100%;
    }
    .table_cell{
        display: table-cell;
    }
}
.c_gray{
    color: #ccc;
}
.c_red{
    color: #ff0000;
}
.c_sqYellow{
    color: #f5a41d;
}
.bg_green{
    background-color: #008000;
}
.bg_red{
    background-color: #ff0000;
}
.bg_red_light{
    background-color: rgba(255, 0, 0, .2);;
}
.noBgColor{
    background-color: transparent !important;
}
.curPointer{
    cursor: pointer;
}
.link{
    color: #013d79;
    cursor: pointer;
    &:hover {
        text-decoration: underline;
    }
}
.l-link {
    display: block;
    height: 26px;
    line-height: 26px;
    padding-left: 10px;
    text-decoration: underline;
    color: #333;
}

.l-link2 {
    text-decoration: underline;
    color: white;
    margin-left: 2px;
    margin-right: 2px;
}

.l-layout-top {
    // background: #102A49;
    // color: White;
}

.l-layout-bottom {
    background: #E5EDEF;
    text-align: center;
}

#pageloading {
    position: absolute;
    left: 0px;
    top: 0px;
    background:white url('#{$imgSkinUrl}loading.gif') no-repeat center;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.l-link {
    display: block;
    line-height: 22px;
    height: 22px;
    padding-left: 16px;
    border: 1px solid white;
    margin: 4px;

    &:hover{
        background: #FFEEAC;
        border: 1px solid #DB9F00;
    }
}
.l-winbar {
    background: #2B5A76;
    height: 30px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    z-index: 99999;
}

.space {
    color: #E7E7E7;
}

.Wrapper {
    position: relative;
    background: $baseBgColor;
    overflow: auto;
    &:after{
        content: '';
        display: block;
        height: 0;
        visibility: hidden;
        clear: both;
    }
}


.l-topmenu-welcome {
    position: absolute;
    z-index: $headNnavZindex;
    right: $navCorner_W + 50px;
    top: ($head_H - $avatar_W)/2;
    color: $baseColor;

    a{
        color: $baseColor;

        &:hover{
            text-decoration: underline;
        }
    }
    ul{
        $LiSpace: 8px;
        $moreArrowSize: 7px;

        li{
            position: relative;
            float: left;
            line-height: $avatar_W;

            .userAvatar{
                display: inline-block;
                width: $avatar_W;
                height: $avatar_W;
                vertical-align: top;
                border-radius: 100%;
                background: url('#{$imgSkinUrl}defaultUserAvatar.jpg') no-repeat center center;
                background-size: 100% 100%;
                img{
                    display: none;
                    width: 100%;
                    height: 100%;
                    border-radius: 100%;
                }
            }
            .dropdown{
                $dropdown_W: 140px;
                $dropdownPos: $dropdown_W / 2;
                display: none;
                position: absolute;
                right: 50%;
                top: $avatar_W;
                padding-top: $moreArrowSize;
                margin-right: -$dropdownPos;

                ul{
                    position: relative;
                    width: $dropdown_W;
                    border-radius: 6px;
                    box-shadow: 0 0 10px #ccc;
                    background: #fff;
                    &:before{
                        content: '';
                        position: absolute;
                        bottom: 100%;
                        right: $dropdownPos -$moreArrowSize;
                        @include triangle(top, #fff, $moreArrowSize, 4px);
                    }
                    li{
                        float: none;
                        padding: 0 10px;
                        border-top: 1px solid #eee;
                        &:first-child{
                            border-top: none;
                        }
                        a{
                            display: block;

                            &:hover{
                                text-decoration: none;
                                color: #00877a;
                            }
                        }
                    }
                }
            }
            &:hover .dropdown{
                display: block;
            }
        }
        .userAvatarBox{
            margin-right: $LiSpace;
            li{
                border: none;
                &:hover{
                    .topNavico_spirit{
                        background-image: url('#{$imgSkinUrl}topNavico_spirit_hover.png');
                    }
                }
                a{
                    padding-left: 40px;
                }
            }
        }
        .more{
            margin-left: $LiSpace;
            .moreBtn{
                cursor: pointer;
                &:after{
                    content: '';
                    display: inline-block;
                    width: 9px;
                    height: 6px;
                    background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px -262px;
                }
            }
            .dropdown{
                $moreDropdown_margin_L: 35px;
                margin-right: - $moreDropdown_margin_L;

                ul{
                    &:before{
                        right: $moreDropdown_margin_L -$moreArrowSize;
                    }
                    width: 200px;
                    li{
                        a{
                            display: inline;
                        }
                        &:first-child{

                            a{
                                display: block;
                                padding: 15px 10px;
                                span{
                                    vertical-align: top;
                                }
                                .userName{
                                    margin-left: 10px;
                                    font-size: 18px;
                                }
                            }
                        }
                    }
                }
            }
        }
        .bar{
            margin: 0 $LiSpace;
        }
    }
}

.headNnav{
    &:before{
        content: '';
        display: block;
        position: fixed;
        left: 0;
        top: 0; 
        z-index: $headNnavZindex;
        width: 100%;
        height: $head_H;
        background: $baseBgColor;
    }
    .l-topmenu{
        margin: 0;
        padding: 0;
        position: fixed;
        z-index: $headNnavZindex + 1;
        width: 100%;
        left: 0;
        top: 0;
        height: $head_H;
        padding: 0 $navCorner_W;
        box-sizing: border-box;
    }
    .l-topmenu-logo {
        color: #E7E7E7;
        margin-left: $navCorner_W + 20;
        width: 288px;
        height: $head_H;
        background: url('#{$imgSkinUrl}sqLOGO.png') no-repeat left top;
        background-size: auto 100%;
        text-indent: -999em;
    }
    .mainNav {
        $navInZindex: 5; //navIn的Zindex
        position: fixed;
        z-index: $headNnavZindex;
        left: 0;
        top: $head_H;
        width: 100%;
        box-sizing: border-box;
        padding: 0 $navCorner_W;
        background: $baseBgColor;

        &:before , &:after{
            content: '';
            display: block;
            position: absolute;
            z-index: $navInZindex - 1;
            top: -15px;
            width: 36px;
            height: 31px;
        }
        &:before{
            left: 0;
            background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px 0;
        }
        &:after{
            right:0;
            background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px -40px;
        }
        .navIn {
            position: relative;
            z-index: $navInZindex;
            // background: url('#{$imgSkinUrl}navBG.png') repeat-y left top #1eb7fd;
            background: #15b26d;
            color: #fff;

            #sideToggle {
                $sideNavBtn_W: 25px;
                position: relative;
                z-index: 20;
                display: block;
                width: $sideNavBtn_W + 10;
                line-height: $tab_H;
                height: $tab_H;
                margin-left: 18px;
                text-align: center;
                cursor: pointer;

                &:before{
                    content: '';
                    position:absolute;
                    top: 50%;
                    left: 50%;
                    margin-top: -3px;
                    margin-left: - ($sideNavBtn_W / 2);
                    display: inline-block;
                    width: $sideNavBtn_W;
                    height: 6px;
                    background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px -75px;
                }
            }
        }
    }
}

.topNavico_spirit{
    position: absolute;
    left: 13px;
    top: 50%;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-top: -13px;
    background-image: url('#{$imgSkinUrl}topNavico_spirit.png');
    background-repeat: no-repeat;
}
.topNavico_1{
    background-position: 0 0;
}
.topNavico_2{
    background-position: 0 -25px;
}
.topNavico_3{
    background-position: 0 -50px;
}
.topNavico_4{
    background-position: 0 -75px;
}
.topNavico_5{
    background-position: 0 -100px;
}

.homeBk_Btn{
    position: fixed;
    z-index: $headNnavZindex + 2;
    top: $head_H;
    left: $navTabMargin_L - 5;
    width: $homeTab_W + 5;
    height: $tab_H;
    line-height: $tab_H;
    $icoHome_W: 18px;

    &:before{
        content: '';
        position: absolute;
        left: 15px;
        top: 50%;
        margin-top: - ($icoHome_W / 2);
        display: inline-block;
        width: $icoHome_W;
        height: 20px;
        background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px -135px;
    }
    a{
        display: block;
        color: #fff;
        cursor: pointer;
        padding-left: $icoHome_W + 25;
        // background: url('#{$imgSkinUrl}navBG.png') repeat-y -#{$navTabMargin_L - $navCorner_W} top #1eb7fd;
        background: #15b26d;
        &:before{
            display: none;
        }
    }
    &.selected{
        a{
            border-right: 1px solid rgba(0, 0, 0, 0.1);
            background: #139a5f;
        }
    }

}

.sideNav {
    $sideNav_W: 150px;
    $sideNavCorner_W: 6px;
    $sideNavCorner_H: 4px;
    position: fixed;
    left: $navCorner_W;
    bottom: 0;
    z-index: 100;
    width: $sideNav_W;
    // border-top: 1px solid #d0d0d0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    background: none;
    color: #fff;

    .sideNav_BG{
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        background: #fff;
    }
    .l-accordion-panel{
        $sideNav1Level_H: 34px;
        $sideNav2Level_H: 32px;
        $navSelected_BG: #139a5f;
        border: none;

        .l-accordion-header{
            position: relative;
            height: $sideNav1Level_H;
            line-height: $sideNav1Level_H;
            padding-left: 0;
            border: none;
            border-bottom: 1px solid #f6fcf8;
            background: none;
            color: #fff;
            .l-accordion-toggle{
                display: none;
            }
            .l-accordion-header-inner{
                padding-left: 36px;
                font-size: $baseFontSize;
                background: #d3f2dd;
                color: #333;
            }
            &.l-accordion-toggle-open-head{
                border-bottom: 0;
                .l-accordion-header-inner{
                    background: $navSelected_BG;
                    color: #fff;
                }
            }
        }
        .l-accordion-content{
            $sideNav2Level_corner_size: 7px;
            background: #edfdf6;
            // border-top: 1px solid #ebebeb;
            .l-link{
                position: relative;
                height: $sideNav2Level_H;
                line-height: $sideNav2Level_H;
                margin: 0;
                padding-left: 36px;
                border: none;
                text-decoration: none;
                cursor: pointer;
                color: #6d6a6a;
                &:hover{
                    background: #52c994;
                    color: #fff;
                }
            }
            .l-link-selected{
                background: #52c994;
                color: #fff;
                &:after{
                    content: '';
                    position: absolute;
                    right: 0;
                    top: 50%;
                    margin-top: -6px;
                    @include triangle(left, #f8f8f8, 5px, 6px);
                }
            }
        }
    }
}

.l-accordion-header-hasicon {
    i{
        left: 10px;
        top: 50%;
        width: 20px;
        height: 20px;
        margin-top: -11px;
        background-image: url('#{$imgSkinUrl}sideNavico_spirit.png');
        background-repeat: no-repeat;
    }
    &.l-accordion-toggle-open-head{
        i{
            background-image: url('#{$imgSkinUrl}sideNavico_spirit_active.png');
        }
    }
    @for $i from 1 through 35 {
       .sideNavico_#{$i}{
            $position_Y: -(20px * $i - 20px);
            background-position: 0 $position_Y;
        }
    }
    .l-accordion-icon{
        &.wuliu_dls{
            @extend .sideNavico_#{1};
        }
        &.wuliu_bb{
            @extend .sideNavico_#{2};
        }
        &.quanxian{
            @extend .sideNavico_#{3};
        }
        &.zichan_fl{
            @extend .sideNavico_#{4};
        }
        &.rongzi{
            @extend .sideNavico_#{5};
        }
        &.wuliu_ht{
            @extend .sideNavico_#{6};
        }
        &.wuliu_xs{
            @extend .sideNavico_#{7};
        }
        &.liucheng{
            @extend .sideNavico_#{8};
        }
        &.wuliu_xsrc{
            @extend .sideNavico_#{9};
        }
        &.zijin{
            @extend .sideNavico_#{10};
        }
        &.xitong{
            @extend .sideNavico_#{11};
        }
        &.wuliu_js{
            @extend .sideNavico_#{12};
        }
        &.xiangmu{
            @extend .sideNavico_#{13};
        }
        &.wuliu_gyl{
            @extend .sideNavico_#{14};
        }
        &.zichan{
            @extend .sideNavico_#{15};
        }
        &.jiekou{
            @extend .sideNavico_#{16};
        }
        &.hetong_td{
            @extend .sideNavico_#{17};
        }
        &.fengxian{
            @extend .sideNavico_#{18};
        }
        &.shouxin{
            @extend .sideNavico_#{19};
        }
        &.dangan{
            @extend .sideNavico_#{20};
        }
        &.baoxian{
            @extend .sideNavico_#{21};
        }
        &.baobiao{
            @extend .sideNavico_#{22};
        }
        &.wuliu{
            @extend .sideNavico_#{23};
        }
        &.kehu{
            @extend .sideNavico_#{24};
        }
        &.hetong{
            @extend .sideNavico_#{25};
        }
        &.huoban{
            @extend .sideNavico_#{26};
        }
        &.renwu{
            @extend .sideNavico_#{27};
        }
        &.gongzuo{
            @extend .sideNavico_#{28};
        }
        &.jichu{
            @extend .sideNavico_#{29};
        }
        &.huancun{
            @extend .sideNavico_#{30};
        }
        &.zaixian{
            @extend .sideNavico_#{31};
        }
    }
}

#layout1 .l-tab-links {
    position: fixed;
    z-index: $headNnavZindex;
    top: $head_H;
    left: 0;
    right: 0;
    margin-bottom: 0;
    margin-left: $navTabMargin_L;
    margin-right: 18px;
    height: $tab_H;

    ul {
        $tabCorner_W: 10px;
        padding: 0;
        height: $tab_H;

        li {
            border: none;
            height: $tab_H;
            line-height: $tab_H;
            padding-right: $tabCorner_W;
            margin-left: 0;
            border-right: 1px solid rgba(0,0,0,0.1);

            a {
                color: #fff;
                font-size: 12px;
                margin: 0;
                padding: 0 13px 0 18px;
                position: relative;
            }
            .l-tab-links-item-close{
                width: 10px;
                height: 10px;
                top: 50%;
                margin-top: -5px;
                background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px -160px;
            }
            .l-tab-links-item-close-over{
                background-position: -30px -170px;
            }
        }
        li.l-selected {
            $BGcolor: #139a5f;
            top: 0;
            border-radius: 0;
            background: none;
            background: $BGcolor;
            margin-left: -1px;

            a{
                font-weight: normal;

                &:before{
                    background: $BGcolor;
                }
                &:after{
                    @include triangle(leftBottom, #045bb2, $tabCorner_W, $tabCorner_W)
                }
            }
        }
        li:first-child{
            position: relative;
            width: $homeTab_W;
            padding-right: 0;
            $icoHome_W: 23px;

            &:before{
                content: '';
                position: absolute;
                left: 0;
                top: 50%;
                margin-top: -13px;
                display: inline-block;
                width: $icoHome_W;
                height: 20px;
            }
            a{
                padding-left: $icoHome_W + 10;
                &:before{
                    display: none;
                }
            }
        }
        li:first-child a, li.l-selected:first-child a{
            background: none;
        }
    }
    .l-tab-links-left, .l-tab-links-right{
        top: 0;
        width: 20px;
        height: 100%;
        border: none;
        background: #15b26d;
        span{
            width: 8px;
            height: 13px;
            margin: -6.5px 0  0 -5px;
            background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -43px -110px;
        }
    }
    .l-tab-links-left{
        left: auto;
        right: 20px;
        span{
            margin-left: -3px;
            background-position: -30px -110px;
        }
    }
    &.l-tab-left-end{
        .l-tab-links-left{
            span{
                background-position: -30px -88px;
            }
        }
    }
    &.l-tab-right-end{
        .l-tab-links-right{
            span{
                background-position: -43px -88px;
            }
        }
    }
}

#layout1 .l-tab-content {
    box-sizing: border-box;
    padding-top: $head_H + $tab_H;
    border-top: none;
    .l-tab-loading{
        background-color: $baseBgColor;
    }
}

//iframe Style
.iframeBody{
    padding: 0 23px;
    min-height: 300px;

    .Wrapper{
        padding: 10px 0 0;
    }
}
.iframeBody_L1{
    .l-tab-content{
        padding: 10px 10px 0;
    }
}
.iframeBody_L2{
    padding: 0;
    .Wrapper{
        padding: 0;
    }
}
.iframeBody_popup{
    background: none;
    min-height: 0;
    .Wrapper{
        background: none;
        padding-top: 0;
    }
}
.l-form{
    margin: 0 0 10px;
    .btnsBox{
        text-align: center;
    }
}
.l-box-select{
    .l-form{
        padding-left: 10px;
        li{
            line-height: 30px;
            .l-button{
                padding: 7px 10px;
                margin: 0 10px;
                height: auto;
                line-height: 14px;
                border: 1px solid #e8e9e8;
                color: #013d79;
                cursor: pointer;
                @include backgroundGradient(#f8f8f8, #d4edf4, vertical);
            }
        }
        .searchBtn{
            .l-button{
                position: relative;
                // padding: 2px 0px 2px 15px;
                padding: 3px 5px 3px 5px;
                margin: 0 5px;
                // display: inline-block;
                // height: 20px;
                // line-height: 20px;
                // padding: 0 20px;
                border: 0;
                border-radius: 100px;
                color: #fff;
                cursor: pointer;
                font-weight: normal;
                background: #139a5f;
                @include backgroundGradient(#15b26d, #139a5f, vertical);
                &:hover{
                    @include backgroundGradient(#15b26d, #15b26d, vertical);
                }
                &:active{
                    @include backgroundGradient(#139a5f, #15b26d, vertical);
                }
                // &:before{
                //     content: "";
                //     position: absolute;
                //     left: 3px;
                //     top: 50%;
                //     display: block;
                //     width: 20px;
                //     height: 20px;
                //     margin-top: -10px;
                //     background-image: url('#{$imgSkinUrl}btnIco_spirit_s.png');
                //     background-repeat: no-repeat;
                //     background-position: 0 0px;
                // }
            }
        }
        .closeBtn{
            margin-right: 0;
            .l-button{
                margin-right: 0;
                position: relative;
                // padding: 2px 0px 2px 15px;
                padding: 2px 5px 2px 5px;
                color: #555;
                background: #fff;
                border: 1px solid #bbb;
                border-radius: 100px;
                box-sizing: border-box;
                line-height: 14px;
                &:hover{
                    background: #fff;
                    border: 1px solid #52c994;
                    color: #52c994;
                }
                &:active{
                    background: #fff;
                    border: 1px solid #139a5f;
                    color: #139a5f;
                }
                // &:before{
                //     content: "";
                //     position: absolute;
                //     left: 3px;
                //     top: 50%;
                //     display: block;
                //     width: 20px;
                //     height: 20px;
                //     margin-top: -10px;
                //     background-image: url('#{$imgSkinUrl}btnIco_spirit_s.png');
                //     background-repeat: no-repeat;
                //     background-position: 0 -260px;
                // }
            }
        }
    }
}
//Button
.btnsBox{padding: 10px 0;}
.sq-button{
    display: inline-block;
    padding: 2px 8px;
    margin: 0 5px;
    line-height: 14px;
    border: 0;
    color: #04897c;
    cursor: pointer;
    border: 1px solid #e8e9e8;
    @include backgroundGradient(#f8f8f8, #b9e3d0, vertical);
    // background: #139a5f;
    &:hover{
        @include backgroundGradient(#b9e3d0, #f8f8f8, vertical);
        // background: #06804b;
    }
    //带圆角的button
    &.rounded{
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 100px;
        &.sq-button-hasicon{
            padding-left: 30px;
        }
    }
    &.sq-button-round{
        display: inline-block;
        height: 20px;
        line-height: 20px;
        padding: 0 20px;
        border: 0;
        border-radius: 100px;
        color: #fff;
        cursor: pointer;
        font-weight: normal;
        background: #139a5f;
        @include backgroundGradient(#15b26d, #139a5f, vertical);
        &:hover{
            @include backgroundGradient(#15b26d, #15b26d, vertical);
        }
        &:active{
            @include backgroundGradient(#139a5f, #15b26d, vertical);
        }
        &.disabled{
            color: rgba(0,0,0,.30);
            background: #eaeaea;
            border: 1px solid #d8d8d8;
            cursor: not-allowed;
        }
    }
    //co_*** : button的颜色
    //***GR : 带渐变的button
    &.co_orangeGR{
        color: #fff;
        border: 0;
        @include backgroundGradient(#fbc255, #ea8615, vertical);
        &:hover{
            @include backgroundGradient(#f6b345, #f6b345, vertical);
        }
        &:active{
            @include backgroundGradient(#ea8615, #fbc255, vertical);
        }
    }
    &.co_normal{
        color: #555;
        background: #fff;
        border: 1px solid #bbb;
        box-sizing: border-box;
        line-height: 18px;
        &:hover{
            background: #fff;
            border: 1px solid #52c994;
            color: #52c994;
        }
        &:active{
            background: #fff;
            border: 1px solid #139a5f;
            color: #139a5f;
        }
    }
}
.sq-button-hasicon {
    position: relative;
    padding-left: 28px;
    border-radius: 2px;
    i{
        position: absolute;
        left: 6px;
        top: 50%;
        display: block;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        background-image: url('#{$imgSkinUrl}btnIco_spirit_s.png');
        background-repeat: no-repeat;
    }
    @for $i from 1 through 55 {
       .sqBtnIco_#{$i}{
            $position_Y: -(20px * $i - 20px);
            background-position: 0 $position_Y;
        }
    }
}
.onlyicon{
    width: 0px;
    height: 20px;
    padding: 3px 14px;
    box-sizing: border-box;
    cursor: pointer;
    @include userSelectNone();
    &:before{
        content: " ";
        display: inline-block;
    }
    i{
        left: 4px;
    }
}
.ico_flasher{
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('#{$imgSkinUrl}red2.gif');
    background-repeat: no-repeat;
}
.ico_flasher_blue {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('#{$imgSkinUrl}blue2.gif');
  background-repeat: no-repeat;
}
.upfileBoxs{
    display: inline-block;
    vertical-align: top;
}
.fileUploadBox{
    display: inline-block;
    vertical-align: top;
    margin: 0 2px 2px 0;
    line-height: 20px;
    @extend .clearFix;
    >span{
        vertical-align: top;
        float: left;
    }
    .fileupload-button {
        margin-right: -1px;
        border-radius: 4px 0 0 4px;
    }
    .inputBox{
        border-radius: 0 4px 4px 0;
    }
    .UpfileCount{
        margin-right: 3px;
        vertical-align: middle;
    }
    .deleteButton{
        // vertical-align: middle;
    }
    .filenameBox{
        display: inline-block;
        vertical-align: top;
        text-align: center;
        &.placeholder{
            color: #999;
        }
    }
}
.fileupload-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
    z-index: 1;
    .fileupload-input{
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        opacity: 0;
        -ms-filter: 'alpha(opacity=0)';
        font-size: 200px !important;
        direction: ltr;
        cursor: pointer;
    }
    //百度webuploader插件 样式
    &.webuploader-container{
        padding: 0;

        .webuploader-element-invisible {
            position: absolute !important;
            clip: rect(1px 1px 1px 1px);
            /* IE6, IE7 */
            clip: rect(1px, 1px, 1px, 1px);
        }

        .webuploader-pick {
            position: relative;
            display: inline-block;
            cursor: pointer;
            padding: 0 20px;
            color: #fff;
            text-align: center;
            border-radius: 3px;
            overflow: hidden;
        }
    }
}
.sqPanel_head{
    .fileupload-button {
        top: 3px;
    }
}
.searchArea{
    margin-bottom: 10px;
    .l-text{
        display: inline-block;
        vertical-align: top;
    }
    .fieldBox{
        .field{
            >.l-text,
            >.l-text-wrapper{
                display: inline-block;
                vertical-align: top;
            }
        }
    }
    >.l-text-wrapper{
        display: inline-block;
        vertical-align: top;
    }
    .btnsBox{
        text-align: left;
    }
    .formBtns{
        float: right;
        margin-left: 10px;
        &.notRight{
            float: left;
        }
        .sq-button-round{
            display: inline-block;
            height: 20px;
            line-height: 20px;
            padding: 0 20px;
            border-radius: 100px;
            color: #fff;
            cursor: pointer;
            font-weight: normal;
            background: #139a5f;
            @include backgroundGradient(#15b26d, #139a5f, vertical);
            &:hover{
                @include backgroundGradient(#15b26d, #15b26d, vertical);
            }
            &:active{
                @include backgroundGradient(#139a5f, #15b26d, vertical);
            }
        }
    }
}
.FXBR{
    position: relative;
    padding-right: 140px;
    &:before,&:after{
        content: '';
        display: block;
        height: 0;
        visibility: hidden;
        clear: both;
    }
    .formBtns{
        position: absolute;
        right: 0;
        bottom: 5px;
    }
}
.titSearchBar{
    display: inline-block;
    margin:0;
    vertical-align: top;
    .fieldset1{
        .fieldBox{
            padding: 0;
            .field{
                margin-right: -30px;
                .l-text{
                    height: 22px;
                    line-height: 22px;
                    border-radius: 100px;
                    &:after{
                        content: "";
                        display: block;
                        width: 14px;
                        height: 14px;
                        position: absolute;
                        left: 5px;
                        top: 50%;
                        margin-top: -7px;
                        background-image: url('#{$imgSkinUrl}sqIco_spirit.png');
                        background-repeat: no-repeat;
                        background-position: 0 -185px;
                    }
                    .l-text-field{
                        height: 22px;
                        line-height: 22px;
                        border-radius: 100px;
                        padding: 0 30px 0 25px;
                        box-sizing: border-box;
                        font-weight: normal;
                    }
                }
            }
        }
        .sq-search-button{
            position: relative;
            float: left;
            height: 24px;
            line-height: 24px;
            padding: 0 20px;
            border-radius: 100px;
            background: #139a5f;
            color: #fff;
            cursor: pointer;
            font-weight: normal;
        }
    }
}
.fieldset1{
    .fieldBox{
        float: left;
        padding: 0 10px 5px;
        box-sizing: border-box;
        .label{
            float: left;
            line-height: 20px;
            margin-right: 5px;
        }
        .field{
            float: left;
            .sq-button{
                margin-left: 0;
                padding-top: 2px;
                padding-bottom: 2px;
                padding-right: 6px;
                &.rounded{
                    padding-right: 10px;
                }
                &.sq-button-round{
                    display: inline-block;
                    height: 20px;
                    line-height: 20px;
                    padding: 0 15px;
                    border-radius: 100px;
                    color: #fff;
                    cursor: pointer;
                    font-weight: normal;
                    background: #139a5f;
                    @include backgroundGradient(#15b26d, #139a5f, vertical);
                    &:hover{
                        @include backgroundGradient(#15b26d, #15b26d, vertical);
                    }
                    &:active{
                        @include backgroundGradient(#139a5f, #15b26d, vertical);
                    }
                }
                &.co_normal{
                    color: #555;
                    background: #fff;
                    border: 1px solid #bbb;
                    box-sizing: border-box;
                    line-height: 18px;
                    &:hover{
                        background: #fff;
                        border: 1px solid #52c994;
                        color: #52c994;
                    }
                    &:active{
                        background: #fff;
                        border: 1px solid #139a5f;
                        color: #139a5f;
                    }
                }
            }
            .newEditor{
                display:none;
            }
            .inputBox{
                height: 18px;
                line-height: 18px;
            }
            .l-textarea{
                vertical-align: top;
            }
        }
    }
    &.tabel_col{
        $label_W: 140px;
        $field_H: 20px;
        $PhotoCol_W: 16%;
        // min-width: 1060px;
        margin-bottom: 10px;
        border-right: 1px solid #e9e9e9;
        border-bottom: 1px solid #e9e9e9;
        &:before{
            content: "";
            display: block;
            width: 100%;
            visibility: visible;
            border-top: 1px solid #e9e9e9;
            margin-bottom: -1px;
        }
        .fields{
            &:before{
                content: "";
                display: block;
                width: 100%;
                visibility: visible;
                border-top: 1px solid #e9e9e9;
                margin-bottom: -1px;
            }
        }
        .col_33{
            width: 33.3333333%;
            &.col_fix_photo{
                // width: 46.6666667%;
                width: 100% - 33.3333333% - $PhotoCol_W;
            }
        }
        .col_50{
            width: 50%;
        }
        .col_66{
            width: 66.6666666%;
        }
        .col_100,.col_1_100{
            width: 100%;
            &.col_fix_photo{
                width: 100% - $PhotoCol_W;
            }
        }
        .col_33, .col_50, .col_66, .col_100, .col_1_100, .col_66_auto, .col_100_auto{
            position: relative;
            padding: 3px 0;
            border-top: 1px solid #e9e9e9;
            border-left: 1px solid #e9e9e9;
            border-bottom: 1px solid #e9e9e9;
            margin-bottom: -1px;
            line-height: $field_H;
            min-height: $field_H + 8;
            .label{
                position: absolute;
                left: 0;
                top: 0;
                height: 100%;
                width: $label_W;
                padding: 3px 10px;
                box-sizing: border-box;
                text-align: right;
                background-color: #e7fef4;
                border-right: 1px solid #e9e9e9;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .field{
                width: 100%;
                padding-left: $label_W + 5;
                // margin-right: 5px;
                line-height: $field_H;
                box-sizing: border-box;
                // overflow: hidden;
                // text-overflow: ellipsis;
                // white-space: nowrap;
                &>div, &>span, &>i{
                    display: inline-block;
                    vertical-align: top;
                }
                &:before{
                    content: " ";
                    display: inline;
                    width: 0;
                    height: 0;
                    line-height: 0;
                }
            }
            .requiredSymbol{
                display:inline-block;
                line-height: $field_H - 2;
            }
        }
        .col_66{
            .field{
                .l-text{
                    $l-text_W:400px;
                    width: $l-text_W !important;
                    .l-text-field{
                        width: ($l-text_W - 4px) !important;
                    }
                }
            }
        }
        .col_100, .col_1_100{
            .field{
                width: 100%;
                padding-right: 10px;
                box-sizing: border-box;
                textarea{
                    vertical-align: top;
                }
                .l-text{
                    $l-text_W:400px;
                    width: $l-text_W !important;
                    .l-text-field{
                        width: ($l-text_W - 4px) !important;
                    }
                }
            }
        }
        .col_1_100{
            .field{
                .l-text{
                    $l-text_W:180px;
                    width: $l-text_W !important;
                    .l-text-field{
                        width: ($l-text_W - 4px) !important;
                    }
                }
            }
        }
        .col_66_auto{
            width: 66.6666666%;
        }
        .col_100_auto{
            width: 100%;
        }
        .caption{
            position: relative;
            clear: both;
            width: 100%;
            box-sizing: border-box;
            padding: 6px;
            text-align: center;
            border-top: 1px solid #e9e9e9;
            border-left: 1px solid #e9e9e9;
            border-bottom: 1px solid #e9e9e9;
            margin-bottom: -1px;
            // background: #e7fef4;
            color: #00877a;
            .title{
                display: inline-block;
                line-height: 1.4em;
                &:before,
                &:after{
                    content: '----';
                    display: inline-block;
                    margin: 0 10px;
                    color: #ccc;
                }
            }
            .btnsBox{
                position: absolute;
                left: 10px;
                top: 50%;
                margin-top: -20px;
                .sq-button{
                    padding: 0 10px;
                }
                &.posR{
                    left: auto;
                    right: 10px;
                }
            }
        }
        .NBSP{
            &:after{
                content: "NBSP";
                display: inline-block;
                vertical-align: top;
                visibility: hidden;
            }
        }
        &.tabel_col_1{
            min-width: 360px;
            .col_100{
                .field{
                    .l-text{
                        $l-text_W:178px;
                        width: $l-text_W !important;
                        .l-text-field{
                            width: ($l-text_W - 4px) !important;
                        }
                    }
                }
            }
        }
        .col_photo{
            float: right;
            width: $PhotoCol_W;
            .label{
                display: none;
            }
            .field{
                width: 100%;
                margin-right: 0;
                padding-left: 0;
                box-sizing: border-box;
                text-align: center;
                img{
                    height: 155px;
                    max-width: 80%;
                }
            }
        }
    }
    &.table_col_2field{
        min-width: 860px;
    }
    &.table_col_1field{
        min-width: 430px;
    }
}
.fieldset2{
    $cell_H: 26px;
    $border_color: #e9e9e9;
    border: 1px solid #{$border_color};
    border-bottom: none;
    .table_cell{
        vertical-align: top;
        &.labels{
            .label_item{
                line-height: $cell_H;
                background-color: #e7fef4;
                padding: 0 5px;
                text-align: center;
                border-bottom: 1px solid #{$border_color};
                border-right: 1px solid #{$border_color};
            }
        }
        &.fields{
            .field_item{
                line-height: $cell_H - 6;
                height: $cell_H + 1;
                padding: 0 5px;
                padding-top: 3px;
                box-sizing: border-box;
                border-bottom: 1px solid #{$border_color};
                &>div{
                    display: inline-block;
                }
            }
        }
    }
    .caption{
        clear: both;
        width: 100%;
        box-sizing: border-box;
        padding: 6px;
        text-align: center;
        border-bottom: 1px solid #e9e9e9;
        border-left: 1px solid #e9e9e9;
        // background: #e7fef4;
        color: #00877a;
        .title{
            display: inline-block;
            line-height: 1.4em;
            &:before,
            &:after{
                content: '----';
                display: inline-block;
                margin: 0 10px;
                color: #ccc;
            }
        }
    }
}
.l-form .combo_itemList{
    margin-bottom: 0;
    li{
        float: none;
        line-height: 18px;
        padding: 0 0 0 20px;
        color: #777;
        &:before{
            content: "";
            display: inline-block;
            position: absolute;
            left: 5px;
            top: 50%;
            margin-top: -3px;
            @include triangle("right", #777, 3px, 5px )
        }
    }
}
.inputBox{
    position: relative;
    border: 1px solid #e9e9e9;
    height: 18px;
    line-height: 18px;
    width: 104px;
    border-radius: 4px;
    padding: 0 5px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    text-align: left;
}
.textareaBox{
    position: relative;
    border: 1px solid #D0D0D0;
    min-height: 60px;
    line-height: 28px;
    width: 100%;
    border-radius: 4px;
    padding: 0 5px;
    box-sizing: border-box;
    overflow-y: auto;
}
.verticalText{
    display: inline-block;
    width: 1em;
    line-height: 1.2em;
}
.inR{
    position: relative;
    .inRC{
        position: absolute;
        right: 10px;
        top: 0;
    }
}
.inL{
    position: relative;
    .inLC{
        position: absolute;
        left: 10px;
        top: 0;
    }
}
.sqPanel{
    margin: 0 0 10px;
    border: 1px solid #e9e9e9;
    .sqPanel_head{
        position: relative;
        padding: 0 10px;
        line-height: 30px;
        // font-weight: bold;
        text-align: center;
        color: #00877a;
        &>span{
            &:before,
            &:after{
                content: '----';
                display: inline-block;
                margin: 0 10px;
                color: #ccc;
            }
        }
        &.TL{
            text-align: left;
        }
        &.TR{
            text-align: right;
        }
        &.TL > span,
        &.TR > span{
            &:before,
            &:after{
                display: none;
            }
        }
        .btnsBox{
            padding: 0;
            &.posL{
                position: absolute;
                left: 10px;
                top: 0;
            }
            &.posR{
                position: absolute;
                right: 10px;
                top: 0;
            }
            .sq-button{
                margin: 0;
                // padding-top: 4px;
                // padding-bottom: 4px;
                // padding-right: 6px;
                padding: 0 15px;
                font-weight: normal;
                // line-height: 14px;
            }
        }
    }
}
.sqPanel_50{
    float: left;
    width: 50%;
    box-sizing: border-box;
}
.FBL5{
    padding: 10px 0;
    .fieldBox{
        padding-left: 0;
        padding-right: 5px;
        padding-bottom: 0;
    }
    .sq-button{
        margin-left: 0;
        margin-right: 5px;
    }
}
.requiredSymbol{
    vertical-align: top;
    display: inline-block;
    color: red;
}
.sq-formTable{
    width: 100%;
    border: 1px solid #e9e9e9;
    border-spacing: 0;
    border-collapse: collapse;
    &.no-border{
        border: none;
    }
    .tbLabel{
        width: 12%;
        line-height: 1.2em;
        text-align: right;
        background: #e7f6fc;
    }
    .caption{
        padding: 5px 0;
        line-height: 2em;
        text-align: center;
        color: #fff;
        background: #6481a5;
        .capTitle{
        }
    }
    .field{
        display: inline-block;
        vertical-align: top;
        .l-textarea{
            display: block;
        }
    }
    td,th{
        padding: 5px 10px;
        line-height: 30px;
        border-left: 1px solid #e9e9e9;
        border-top: 1px solid #e9e9e9;
    }
    tr:first-child{
        // td, th{
        //     border-top: 0;
        // }
    }
    .sq-formTable{
        // td,th{
        //     border-left: 1px solid #e9e9e9;
        //     border-top: 1px solid #e9e9e9;
        // }
        tr:first-child{
            td, th{
                border-top: 0;
            }
        }
        td:first-child{
            border-left: 0;
        }
    }
    .layout_1col{
        .tbLabel{
            width: 30%;
        }
    }
    .sqPanel{
        border: 0;
        .sqPanel_head{
            font-size: 13px;
            line-height: 36px;
            border-bottom: 1px dotted #d1d1d1;
            .sqIco{
                line-height: 22px;
                margin: 0 10px;
                position: relative;
                top: 3px;
            }
        }
        .sqPanel_body{
            .btnsBox{
                .sq-button{
                    margin: 0 5px;
                }
            }
        }
    }
}
table.layout2col1{
    width: 100%;
    border: 1px solid #e9e9e9;
    >tbody>tr{
        >td,>th{
            padding: 5px 10px;
            border-left: 1px solid #e9e9e9;
            &:first-child{
                border-left: 0;
            }
        }
        td{
            // width: 50%;
        }
    }
    .sqPanel{
        border: 0;
        border-bottom: 1px solid #e9e9e9;
        .sqPanel_head{
            font-size: 13px;
            line-height: 28px;
            border-bottom: 1px dotted #d1d1d1;
            .sqIco{
                line-height: 22px;
                margin: 0 10px;
                position: relative;
                top: 3px;
            }
        }
        .sqPanel_body{
            .btnsBox{
                .sq-button{
                    margin: 0 5px;
                }
            }
            .sq-grid{
                &.l-panel{
                    border-left: 1px solid #ececec;
                    border-right: 1px solid #ececec;
                }
            }
        }
    }
    .l-bar-button span{
        padding: 0 5px;
    }
    .l-bar-group{
        margin: 0 3px;
    }
    .l-bar-button{
        margin: 0 3px;
    }
}
.pageInTab{
    .l-tab-links{
        $inTab_H: 27px;
        height: $inTab_H;
        width: auto !important;
        margin-bottom: -1px;
        border-bottom: 0;
        margin-left: 0;
        ul{
            height: $inTab_H;
            padding: 0;
            font-size: 14px;
            li{
                height: $inTab_H - 1;
                line-height: $inTab_H - 2;
                margin: 0  4px 0 0;
                border: 0;
                a{
                    margin: 0;
                    padding: 0 20px;
                    border: 1px solid #e8e9e8;
                    font-size: 12px;
                    .dropdown_btn{
                        padding: 0 3px 0 5px;
                        &.sqIco_downArrowActive{
                            &:before{
                                transform: rotate(180deg);
                            }
                        }
                    }
                    .flasher{
                        margin-left: -10px;
                        margin-right: 5px;
                        vertical-align: top;
                    }
                }
                &:after{
                    content: '';
                    position: absolute;
                    right: 0;
                    top: 0;
                    display: block;
                    background: #f8f8f8;
                    @include triangle(leftBottom, #e8e9e8, 11px, 11px);
                }
            }
            li.l-selected{
                top: 0;
                height: $inTab_H;
                line-height: $inTab_H - 2;
                background: #f8f8f8;
                a{
                    font-weight: normal;
                    border-color: $inTabColor;
                    border-bottom-color: #f8f8f8;
                    color: #00877a;
                }
                &:after{
                    @include triangle(leftBottom, #{$inTabColor}, 11px, 11px);
                }
            }
        }
    }
    .l-tab-content{
        box-sizing: border-box;
        border: 1px solid #{$inTabColor};
        border-top: 1px solid #{$inTabColor};
        padding: 10px;
    }
}

//Dialog
.dialogP{
    padding: 5px 10px;
}
.noBorder_Dialog{
    .l-dialog-tc{
        border-bottom: 0;
    }
    .l-dialog-cl, .l-dialog-cc, .l-dialog-cr{
        border-top: 0;
    }
    .l-form{
        .fieldset1.tabel_col{
            &:before{
                border: 0;
            }
        }
        .btnsBox{
            padding-bottom: 0;
        }
    }
}
.l-dialog-content-noimage{
    padding: 10px;
}
.l-dialog{
    .fieldset1.tabel_col{
        min-width: 0;
        // border: 0;
        &:before{
            // border: 0;
        }
        .col_33, .col_50, .col_66, .col_100, .col_1_100{
            border: 0;
            padding: 2px 0;
            .label{
                line-height: 19px;
                border-right: 0;
                background: none;
            }
        }
    }
    .l-form-container{
        padding: 0 5px;
        li{
            line-height: 20px;
        }
        .l-button{
            height: 20px;
            line-height: 20px;
            border: 0;
            border-radius: 100px;
            color: #fff;
            @include backgroundGradient(#15b26d, #139a5f, vertical);
            &:hover{
                @include backgroundGradient(#15b26d, #15b26d, vertical);
            }
            &:active{
                @include backgroundGradient(#139a5f, #15b26d, vertical);
            }
        }
    }
}
.fieldset1.tabel_col.noBorder{
    min-width: 0;
    border: 0;
    &:before{
        border: 0;
    }
    .col_33, .col_50, .col_66, .col_100, .col_66_auto, .col_100_auto, .col_1_100{
        border: 0;
        padding: 2px 0;
        .label{
            line-height: 22px;
            border-right: 0;
            background: none;
            color: #a3a3a3;
        }
        .field{
            padding-top: 1px;
            padding-bottom: 1px;
        }
    }
}

.l-tree{
    background: none;
    .l-tree-icon-none,.l-tree-icon-none-open,.l-tree-icon-none{
        // background: none;
        display: none;
    }
    &.no_treeIco{
        .l-tree-icon{
            display: none;
        }
    }
    .l-tree-icon-SqFolder,.l-tree-icon-SqFolder-open,.l-tree-icon-SqLeaf{
        background-image: url('#{$imgSkinUrl}sqIco_spirit.png');
        background-position: 0 -83px;
        text-align: center;
        color: #65b5ad;
    }
    .l-children{
        .l-tree-icon-SqFolder,.l-tree-icon-SqFolder-open{
            background-image: url('#{$imgSkinUrl}sqIco_spirit.png');
            background-position: 0 -110px;
        }
        .l-tree-icon-SqLeaf{
            background-image: url('#{$imgSkinUrl}sqIco_spirit.png');
            background-position: 0 -137px;
        }
    }
    .l-tree-icon-SqFolder,.l-tree-icon-SqFolder-open,.l-tree-icon-SqLeaf{
        &.l-tree-icon-none,
        &.l-tree-icon-hasclass //因为用before的方式，所以仍然不需要显示背景图
        {
            background: none;
        }
    }
}
.l-grid{
    td{
        a{
            color: #013d79;
            &:hover{
                text-decoration: underline;
            }
        }
        .isSelected_btn{
            background: #013d79;
            color: #fff;
            border-radius: 100px;
            padding: 0 5px;
        }
    }
}
.SMALL_grid{
    .l-panel-bbar-inner{
        min-width: 0;
        .l-bar-message, .l-bar-btnfirst, .l-bar-btnlast, .l-bar-perPageSizeText, .l-bar-selectpagesize{
            display: none;
        }
        .l-bar-separator{
            display: none;
        }
    }
}

.sq-grid{
    &.l-panel,
    &.l-panel .l-panel{
        border: none;
    }
    &.l-panel .l-panel-bwarp{
        border: 1px solid #ececec;
    }
    .l-panel-header{
        background: none;
        border: 1px solid #ececec;
        border-bottom: 0;
        .l-panel-header-text{
            line-height: 28px;
            padding-left: 0;
            font-weight: normal;
        }
    }
    .l-panel-bar{
        line-height: 22px;
        .l-bar-separator{
            margin-top: 5px;
        }
    }
    .sq-grid .l-panel-bar{
        border: none;
    }
}
.sq-grid-noTitle{
    .l-grid2{
        .l-grid-header{
            display: none;
        }
    }
}
.dropLinks{
    position: relative;
    display: inline-block;
    .dropBtn{
        margin: 0 5px 0 10px;
        cursor: pointer;
        &:after{
            content: '';
            display: inline-block;
            width: 9px;
            height: 6px;
            margin-left: 3px;
            background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px -262px;
        }
    }
    .dropList{
        position: absolute;
        right: 0;
        top: 100%;
        display: none;
    }
}
.Fix_dropLinks{
    &.dropList{
        position: absolute;
        background: #fff;
        width: auto;
        min-width: 100px;
        // padding: 5px;
        border-radius: 4px;
        box-shadow: 0 0 5px #999;
        a{
            display: block;
            padding-top: 5px;
            padding-bottom: 5px;
            padding-right: 8px;
            border-top: 1px solid #ddd;
            &:first-child{
                border-top: 0;
            }
            &:hover{
                background: #e7fef4;
            }
        }
    }
}
.sqPanel{
    &.normal{
        .sqPanel_head{
            background-color: #F0F0F0;
            color: #bbb;
            border-bottom: 1px solid #e9e9e9;
        }
        .sqPanel_body{
            padding-top: 5px;
        }
    }
    .sqPanel_body{
        &:before,&:after{
            content: '';
            display: block;
            height: 0;
            visibility: hidden;
            clear: both;
        }
        .sq-grid{
            &.l-panel .l-panel-bwarp{
                border-width: 1px 0 0;
            }
            .l-grid-body-table{
                tr:last-child{
                    .l-grid-row-cell{
                        // border-bottom: 0;
                    }
                }
            }
        }
    }
}
.iframeBody_popup{
    padding: 10px;
    .searchArea{
        .FBL5{
            padding-bottom: 0;
        }
    }
    .fieldset1{
        // margin: 10px 10px 0;
        &.tabel_col{
            min-width: 0;
        }
    }
    .l-dialog{
        box-shadow: 0 0 20px #777;
    }
    .l-window-mask{
    opacity: 0;
    filter:alpha(opacity=0);
    }
}
.l-window-mask{
    background: #012515;
    opacity: .5;
    filter:alpha(opacity=50);
}
.loadingBox{
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    .loading_mask{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        opacity: .75;
        filter:alpha(opacity=75);
    }
    .loadingContent{
        position: absolute;
        width: 100%;
        top: 50%;
        text-align: center;
        line-height: 32px;
        margin-top: -16px;
    }
}
.loadingGif{
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    background:url('#{$imgRootUrl}loading-spin.gif') no-repeat center;
}
.SQ_layout_full .l-layout-drophandle-top{
    display: none !important;
}
.fileLink{
    display: inline-block;
    position: relative;
    padding-left: 16px;

    &:before{
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -8px;
        display: inline-block;
        width: 16px;
        height: 16px;
        background: url("#{$imgSkinUrl}sqIco_spirit.png") no-repeat 0px -205px;
    }
    &:hover{
        text-decoration: underline;
    }
}

//recordTask 点闪烁动画
@-webkit-keyframes dotFlash {
  0% {
    background: rgba(19, 154, 95, 0);
  }
  40%{
    background: rgba(19, 154, 95, 1);
  }
  60% {
    background: rgba(19, 154, 95, 1);
  }
  100% {
    background: rgba(19, 154, 95, 0);
  }
}
@-moz-keyframes dotFlash {
  0% {
    background: rgba(19, 154, 95, 0);
  }
  40%{
    background: rgba(19, 154, 95, 1);
  }
  60% {
    background: rgba(19, 154, 95, 1);
  }
  100% {
    background: rgba(19, 154, 95, 0);
  }
}
@-o-keyframes dotFlash {
  0% {
    background: rgba(19, 154, 95, 0);
  }
  40%{
    background: rgba(19, 154, 95, 1);
  }
  60% {
    background: rgba(19, 154, 95, 1);
  }
  100% {
    background: rgba(19, 154, 95, 0);
  }
}
@-ms-keyframes dotFlash {
  0% {
    background: rgba(19, 154, 95, 0);
  }
  40%{
    background: rgba(19, 154, 95, 1);
  }
  60% {
    background: rgba(19, 154, 95, 1);
  }
  100% {
    background: rgba(19, 154, 95, 0);
  }
}
@keyframes dotFlash {
  0% {
    background: rgba(19, 154, 95, 0);
  }
  40%{
    background: rgba(19, 154, 95, 1);
  }
  60% {
    background: rgba(19, 154, 95, 1);
  }
  100% {
    background: rgba(19, 154, 95, 0);
  }
}
.recordTask{
    .recordBox{
        position: relative;
        padding: 5px 0;
        background: #eff4f4;
        border-radius: 5px;
        margin-bottom: 12px;
        margin-left: 30px;
        // border-bottom: 1px solid #e9e9e9;
        &:before{
            content: '';
            display: block;
            position: absolute;
            left: -19px;
            top: 21px;
            width: 0;
            height: 100%;
            border-left: 2px solid #ccc;
        }
        .rcTit{
            position: relative;
            padding: 0 10px 0 10px;
            color: #777;
            font-size: 12px;
            line-height: 1.5em;
            font-weight: bold;
            margin-bottom: 5px;
            &:before{
                position: absolute;
                left: -25px;
                top: 50%;
                margin-top: -7px;
                content: '';
                display: inline-block;
                width: 10px;
                height: 10px;
                // background: url("../images/sqIco_spirit.png") no-repeat 0px -226px;
                background-color: #f8f8f8;
                border: 2px solid #139a5f;
                border-radius: 100px;
            }
        }
        .rcBody{
            padding: 0 10px 0 10px;
            line-height: 1.8em;
            color: #555;
        }
        &:last-child{
            border-bottom: 0;
            &:before{
                display: none;
            }
            .rcTit{
                &:before{
                    // border-color: #139a5f;
                    // background: #139a5f;
                    -moz-animation: dotFlash 1s infinite linear;
                    -o-animation: dotFlash 1s infinite linear;
                    -webkit-animation: dotFlash 1s infinite linear;
                    animation: dotFlash 1s infinite linear;
                }
            }
        }
    }
}

//登录页：顶部云移动动画
@-moz-keyframes cloudMove {
  0% {
    background-position: 0 0;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  85%{
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}
@-webkit-keyframes cloudMove {
  0% {
    background-position: 0 0;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  85%{
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}
@-o-keyframes cloudMove {
  0% {
    background-position: 0 0;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  85%{
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}
@-ms-keyframes cloudMove {
  0% {
    background-position: 0 0;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  85%{
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}
@keyframes cloudMove {
  0% {
    background-position: 0 0;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  85%{
    opacity: 1;
  }
  100% {
    background-position: 200% 0;
    opacity: 0;
  }
}

//登录页：底部建筑淡出动画
@-moz-keyframes buildingShow {
  0% {
    opacity: 0;
  }
  100% {
    opaticy: 1;
  }
}
@-webkit-keyframes buildingShow {
  0% {
    opacity: 0;
  }
  100% {
    opaticy: 1;
  }
}
@-o-keyframes buildingShow {
  0% {
    opacity: 0;
  }
  100% {
    opaticy: 1;
  }
}
@-ms-keyframes buildingShow {
  0% {
    opacity: 0;
  }
  100% {
    opaticy: 1;
  }
}
@keyframes buildingShow {
  0% {
    opacity: 0;
  }
  100% {
    opaticy: 1;
  }
}
.loginpage{
    position: absolute;
    width: 100%;
    height: 100%;
    // background: url("../images/login_page_GR_bg.png") repeat-x left top;
    @include backgroundGradient(#ffffff, #d9eee5, vertical);
    .Wrapper{
        position: absolute;
        width: 100%;
        min-width: 1000px;
        min-height: 500px;
        height: 100%;
        // background: url("../images/login_page_bg.jpg") no-repeat center top;
        @include backgroundGradient(#cafbbc, #f6fff4, vertical);
        .wrap2{
            position: absolute;
            left: 0;
            top: 50%;
            margin-top: -125px;
            width: 100%;
            height: 250px;
            &:before{
                content: '';
                display: block;
                position: absolute;
                top: 41px;
                height: 167px;
                width: 100%;
                background-color: #fff;
            }
            &:after{
                content: '';
                display: block;
                position: absolute;
                left: 0;
                top: 0;
                height: 100%;
                width: 100%;
                background: url("../images/login_middle_bg.png") no-repeat center top;
            }
            .loginWrap{
                position: absolute;
                top: 65px;
                left: 50%;
                z-index: 5;
                margin-left: 90px;
                width: 255px;
            }
        }
        &:before{
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 188px;
            visibility: visible;
            background: url("../images/login_page_top_cloud.png") no-repeat center bottom;
            -moz-animation: cloudMove 30s infinite linear;
            -o-animation: cloudMove 30s infinite linear;
            -webkit-animation: cloudMove 30s infinite linear;
            animation: cloudMove 30s infinite linear;
        }
        &:after{
            content: '';
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 148px;
            visibility: visible;
            background: url("../images/login_page_bottom.png") repeat-x center bottom;
            -moz-animation: buildingShow 3s;
            -o-animation: buildingShow 3s;
            -webkit-animation: buildingShow 3s;
            animation: buildingShow 3s;
        }
    }
}
.loginWrap{
    .fieldset{
        margin-bottom: 25px;
        .fieldBox{
            padding-left: 10px;
            margin-bottom: 10px;
            .label{
                display: inline-block;
                vertical-align: top;
                margin-right: 5px;
                .sqIco{
                    margin-top: 4px;
                }
            }
            .field{
                display: inline-block;
                .l-text{
                    height: 28px;
                    line-height: 28px;
                    .l-text-field{
                        height: 28px;
                        line-height: 28px;
                    }
                }
                input{
                    padding: 0 10px;
                    box-sizing: border-box;
                }
            }
        }
    }
    .btnsWrap{
        color: #fff;
        .sq-button{
            min-width: 40px;
            padding-top: 6px;
            padding-bottom: 6px;
            text-align: center;
        }
        &>span{
            margin: 0 5px;
        }
        .l-checkbox-wrapper{
            .l-checkbox{
                margin: 0;
            }
        }
        a{
            color: #fff;
            &:hover{
                text-decoration: underline;
            }
        }
    }
}
.pageIn2layout{
    $pageIn2L_side_W: 130px;
    .pageIn2L_side{
        width: $pageIn2L_side_W;
        float: left;
        .sqPanel{
            // padding: 0 5px;
            background: #fff;
            .sqPanel_head{
                text-align: left;
                color: #bbb;
                // border-bottom: 1px solid #e9e9e9;
                background-color: #F0F0F0;
            }
            .sqPanel_body{
                padding: 5px 0;
                min-height: 180px;
                .links{
                    text-align: left;
                    li{
                        position: relative;
                        display: block;
                        padding: 5px 0 5px 10px;
                        cursor: pointer;
                        // border-left: 1px solid #ccc;
                        &:before{
                            content: '';
                            display: block;
                            position: absolute;
                            left: 0;
                            top: 50%;
                            width: 5px;
                            border-bottom: 1px dotted #999;
                        }
                        &:hover{
                            color: #04897c;
                            background: #e5ffe5;
                        }
                        &.active{
                            color: #04897c;
                            background: #e5ffe5;
                        }
                    }
                }
            }
        }
    }
    .pageIn2L_mid{
        overflow: auto;
        margin-left: $pageIn2L_side_W + 10;
    }
}
.tabDrop{
    position: absolute;
    z-index: 5;
    display: none;
    width: 100px;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 8px #ccc;
    li{
        padding: 5px 0;
        margin-top: 1px;
        text-align: center;
        cursor: pointer;
        color: #aaa;
        &:first-child{
            margin-top: 0;
        }
        &:hover{
            color: #013d79;
            background: #e8f8fe;
        }
        &.active{
            color: #013d79;
            background: #e8f8fe;
        }
    }
}
.breadcrumb{
    padding: 0 0 10px;
    .sqIco{
        vertical-align: middle;
    }
    ol{
        display: inline-block;
        li{
            display: inline-block;
            color: #bbb;
        }
    }
}
.l-verify-tip{
    .l-verify-tip-corner{
        top: 6px;
    }
    .l-verify-tip-content{
        border-radius: 3px;
    }
}
.iframeBody_popup{
    .l-grid-header{
        background: #fcfcfc;
        color: #a3a3a3;
    }
}
.homePanel{
    ul{
        width: 1000px;
        margin: 20px auto;
        text-align: center;
        li{
            display: inline-block;
            width: 100px;
            height: 100px;
            margin: 10px 20px;
            border-radius: 40px;
            border: 8px solid #fff;
            cursor: pointer;
            background: #b7cbc9;
            &:hover{
                background: #b7cbc9;
                border-color: #fff;
            }
            &:active{
                background: #b7cbc9;
                border-color: #fff;
            }
            .sqiconfont{
                display: inline-block;
                margin: 20px 0 6px;
                font-size: 35px;
                color: #fff;
            }
            .pNm{
                display: block;
                color: #fff;
            }
            // &.disabled{
            //     background: #b7cbc9;
            //     &:hover{
            //         background: #b7cbc9;
            //         border-color: #fff;
            //     }
            //     &:active{
            //         background: #b7cbc9;
            //         border-color: #fff;
            //     }
            // }
            &.enable{
                @include backgroundGradient(#15b26d, #139a5f, vertical);
                &:hover{
                    // @include backgroundGradient(#15b26d, #15b26d, vertical);
                    background: #52c994;
                    border-color: #d3f2dd;
                }
                &:active{
                    // @include backgroundGradient(#139a5f, #15b26d, vertical);
                    background: #057343;
                    border-color: #d3f2dd;
                }
            }
        }
    }
}
.sqCaption{
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    color: #fff;
    @include backgroundGradient(#139a5f, #15b26d, vertical);
    @extend .clearFix;
    .sqiconfont{
        font-size: 12px;
    }
    .tit{
        float: left;
    }
    .capR{
        float: right;
    }
    a{
        color: #fff;
    }
}
.sqCaption-normal{
    padding: 10px;
    margin: 0 0 10px;
    font-weight: bold;
    background: #f0f0f0;
    color: #00877a;
    text-align: center;
    // @include backgroundGradient(#ffffff, #f7f7f7, vertical);
    @extend .clearFix;
    .sqiconfont{
        font-size: 12px;
    }
    .tit{
        position: relative;
        float: left;
        padding-left: 8px;
        &:before{
            position: absolute;
            left: 0;
            top: 50%;
            margin-top: -6px;
            content: '';
            display: inline-block;
            width: 3px;
            height: 12px;
            background: #00877a;
        }
    }
    .capR{
        float: right;
    }
    &.TC{
        text-align: center;
        .tit{
            float: none;
            padding-left: 0;
            &:before{
                display: none;
            }
        }
    }
}
.previewGridWrap{
    min-height: 50px;
    .dl{
        margin-bottom: 5px;
        .dt{
            line-height: 1.5em;
            font-size: 14px;
        }
        .dd{
            .ul{
                padding-left: 10px;
            }
        }
    }
}

.zoomImgWrap{
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    .mask{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .85;
        filter: alpha(opacity=85);
    }
    .imgBox{
        position: relative;
        width: 100%;
        min-width: 560px;
        height: 100%;
        margin: 0 auto;
    }
    .closeBtn{
        position: absolute;
        right: 10px;
        top: 10px;
        display: inline-block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 20px;
        color: #333;
        cursor: pointer;
        background: #fff;
        border-radius: 500px;
    }
}
.l-text-invalid ~ .pathTextWrap{
    border-color: #F77;
    background: #FEE;
}
.l-text-disabled ~ .pathTextWrap{
    background: #f0f0f0;
    color: #999;
}
.codeWrap{
    position: fixed;
    z-index: 999;
    left: 10px;
    top: 10px;
    width: 270px;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 0 10px #555;
    background: #ffeee6;
    .barCodeArea{
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 5px;
        resize:none;
        border: 1px solid #ccc;
        outline: none;
        box-shadow: 0 0 5px #ccc inset;
        &:focus{
            border: 1px solid #fe0000;
        }
    }
    .noticeBox{
        position: relative;
        display: block;
        margin-top: 5px;
        padding-left: 24px;
        color: #ff0000;
        &:before{
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            margin-top: -9px;
            display: inline-block;
            width: 18px;
            height: 18px;
            background: url('#{$imgSkinUrl}sqIco_spirit.png') no-repeat -30px -296px;
        }
    }
}
table.tbl_1{
    border: 1px solid #e9e9e9;
    td{
        width: 25%;
        padding: 5px 10px 10px;
        text-align: center;
        border: 1px solid #e9e9e9;
        h5{
            height: 40px;
            width: 100%;
            display: table;
            text-align: center;
            color: #555;
            font-weight: normal;
            &>span{
                display: table-cell;
                vertical-align: middle;
            }
        }
        .imgBox{
            height: 200px;
            width: 100%;
            display: table;
            >.link{
                display: table-cell;
                vertical-align: middle;
            }
            img{
                max-height: 200px;
                max-width: 90%;
            }
        }
        .btns{
            padding-top: 10px;
            .sq-button{
                margin: 0 2px;
                padding: 0 15px;
            }
        }
    }
}
.FilesList{
    display: block;
    margin-bottom: 5px !important;
    li{
        position: relative;
        display: block;
        float: none;
        line-height: 18px;
        .count{
            position: absolute;
            left: 0;
            top: 2px;
            display: inline-block;
            float: left;
        }
        .fineName{
            display: inline-block;
            width: 100%;
            box-sizing: border-box;
            padding: 0 60px 0 15px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            vertical-align: top;
        }
        .icons{
            position: absolute;
            right: 0;
            top: 2px;
            display: inline-block;
        }
    }
}
.sq-staticGrid{
    width: 100%;
    overflow-y: auto;
    table{
        border-top: 1px solid #e9e9e9;
        td{
            border: 1px solid #e9e9e9;
            line-height: 28px;
            text-align: center;
        }
        thead{
            tr{
                td{
                    background: #e7fef4;
                }
            }
        }
    }
}
.sqPanel{
    .sq-staticGrid{
        table{
            tr{
                td:first-child{
                    border-left: 0;
                }
                td:last-child{
                    border-right: 0;
                }
            }
            tr:last-child{
                td{
                    border-bottom: 0;
                }
            }
        }
    }
}
.headCellWrap{
    position: relative;
    .btns{
        position: absolute;
        right: 0;
        .sq-button{}
    }
}